Xbasic
WAITDIALOG.CREATE Function
Syntax
Create as P([message_lines as N [, style as C [, width as N ]]])
Arguments
- message_lines Numeric
The number of lines to allow below the progress bar for text messages, maximum of 3.
- styleCharacter
Wait dialog style to use. Can be one of the following:
- Percent
A standard progress bar display that shows the degree of completion
- Repeating
The progress bar builds from the left, disappears, and then builds again
- Bounce
The progress bar shuttles left to right, then right to left, and repeats continuously
- widthNumeric
Defines the width of the Xdialog waitdialog.
Description
The .CREATE() method creates and displays the {WAITDIALOG} dialog box with progress bar.
Example
dim p3 as waitdialog p3.create(3,"bounce",500) 'set with width to 500 p3.set_color("dark green") p3.Set_Bottom_Message("This is the bottom row message - line1." + crlf() + "Line2") p3.Set_Message("This is the top row message.") 'to close the waitdialog p3.close()
Limitations
Desktop applications only.
See Also